package com.zhentao.service;

import com.zhentao.model.admin.page.RolePageParam;
import com.zhentao.model.admin.param.SysRoleMenuAddParam;
import com.zhentao.model.admin.rbac.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.common.dtos.ResponseResult;

/**
* @author lenovo
* @description 针对表【sys_role(系统角色)】的数据库操作Service
* @createDate 2024-12-26 19:14:23
*/
public interface SysRoleService extends IService<SysRole> {

    ResponseResult roleList(RolePageParam param);

    ResponseResult editRole(SysRole sysRole);

    ResponseResult roleMenuAdd(SysRoleMenuAddParam param);

    ResponseResult deleteRole(String id);
}
